package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallback.RemarkFallbackFactory;
import com.tianji.api.dto.remark.LikeTimesQueryDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "remark-service", fallbackFactory = RemarkFallbackFactory.class)
public interface RemarkClient {

    @PostMapping("/likes/queryByBizTypeAndIds")
    LikeTimesQueryDTO queryByBizTypeAndIds(@RequestBody LikeTimesQueryDTO dto);

}
